package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同人员对象 constract_staff
 * 
 * @author ruoyi
 * @date 2022-04-04
 */
public class ConstractStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 岗位 */
    @Excel(name = "岗位")
    private String post;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 注册证 */
    @Excel(name = "注册证")
    private String registration;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 合同id */
    @Excel(name = "合同id")
    private Long constractId;

    /** 0投标人员 1实际人员 2质量审查员 */
    @Excel(name = "0投标人员 1实际人员 2质量审查员")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setRegistration(String registration) 
    {
        this.registration = registration;
    }

    public String getRegistration() 
    {
        return registration;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setConstractId(Long constractId) 
    {
        this.constractId = constractId;
    }

    public Long getConstractId() 
    {
        return constractId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("post", getPost())
            .append("major", getMajor())
            .append("name", getName())
            .append("title", getTitle())
            .append("registration", getRegistration())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("constractId", getConstractId())
            .append("type", getType())
            .toString();
    }
}
